<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	    <title>登录</title>
	    <base href="<%=basePath%>"/>
	    <meta http-equiv="pragma" content="no-cache"/>
		<meta http-equiv="cache-control" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>
	    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	    <meta http-equiv="imagetoolbar" content="no"/>
	    <meta name="apple-mobile-web-app-capable" content="yes"/>
	   
	    <link href="ipiinclude/ipicss/login.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<input type="hidden" id="userName" value="${user.name }">
		<h1>商店主页</h1>
		<p id="welcome" style="display:none">欢迎您：${user.name }</p>
		<a href="toLogin.action">登陆</a>
		<a href="toRegister.action">注册</a>
		<a href="toAdd.action">管理员添加商品</a>
	</body>
	<script type="text/javascript" src="ipiinclude/ipijs/common/jquery.js" ></script>
	<script type="text/javascript" src="ipiinclude/ipijs/common/function.js"></script>
	<script type="text/javascript" src="ipiinclude/ipijs/user/index.js"></script>
</html>